var gulp    = require('gulp');
var connect = require('gulp-connect');

gulp.task('web-server', function() {
    connect.server({
        root: '../',
        livereload: true
    })
})

gulp.task('watch-html', function() {
    gulp.watch('../test/*.html', ['htmlReload'])
})

gulp.task('htmlReload', function() {
    return gulp.src('../test/*.html')
        .pipe(connect.reload())
})
